
import {GET,POST,FILE,FILEPOST,PUT,GETNOBASE} from "../api";

const indexUrl = {
    leftTop:'/bigscreen/countDeviceNum',//左上
    leftCenter:'/bigscreen/countUserNum',//左中
    leftBottom:'/bigscreen/leftBottom',//左下
    rightBottom:'/bigscreen/rightBottom',//右下
    centerBottom:'/bigscreen/installationPlan',//中下
    rightTop:'/bigscreen/alarmNum',//右上报警次数
    rightCenter:'/bigscreen/ranking',//右中数据
    centerMap:'/bigscreen/centerMap'//地图数据
}
export default indexUrl

/**左上设备数据 */
export const countDeviceNum=(param:any={})=>{
    return GET(indexUrl.leftTop,param)
}
/**左中设备数据 */
export const countUserNum=(param:any={})=>{
    return GET(indexUrl.leftCenter,param)
}
/**左下设备数据 */
export const leftBottom=(param:any={})=>{
    return GET(indexUrl.leftBottom,param)
}
/**右下设备数据 */
export const rightBottom=(param:any={})=>{
    return GET(indexUrl.rightBottom,param)
}
/**中下设备数据 */
export const installationPlan=(param:any={})=>{
    return GET(indexUrl.centerBottom,param)
}
/**右上设备数据 */
export const rightTop=(param:any={})=>{
    return GET(indexUrl.rightTop,param)
}
/**右中设备数据 */
export const rightCenter=(param:any={})=>{
    return GET(indexUrl.rightCenter,param)
}
/**中地图设备数据 */
export const centerMap=(param:any={})=>{
    return GET(indexUrl.centerMap,param)
}



